﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SD.Entities;

namespace SD.IDAL
{
    public interface IAddressDAO
    {
        List<Address> GetByCodition(string postcode, string street, string town);
        List<Address> GetAll();
        List<Address> GetByPostCode(string postCode);
        Address GetById(string addressId);
        bool Insert(Address address);
        bool Update(Address address);
        bool Delete(string addressId);
    }
}
